mui.init();
var obj1=null;
console.log('123')

$(document).ready(function () {
    $.post(
        "/store/queryData",
        {},
        function (data) {
            obj1=data;
            console.log(obj1);
            var aaaHtml = _.template($("#tp").html());
            $(".mendian").html(aaaHtml, obj1);
            console.log('123')
        }
    )
})

mui('body').on('tap', '.chakan', function () {
    console.log('1234567');
    var storeId= $(this).data("id");
    console.log(storeId);
    location.href="/store/storeterminalinfo?storeId="+storeId;
    // $.post(
    //     "/store/storeterminalinfo",
    //     {storeId:$(this).data("id")},
    //     function (data) {
    //         console.log(data);
    //     }
    // )
})